package com.punch.order.util;

import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;

public class CronUtil {


    private static final String DATE_FORMAT = "ss mm HH dd MM ?";

    public static String formatDateByPattern(LocalDateTime localDateTime) {
        DateTimeFormatter ftf = DateTimeFormatter.ofPattern(DATE_FORMAT);
        return ftf.format(localDateTime);
    }

}
